package com.itheima;

import java.text.SimpleDateFormat;
import java.util.Date;

public class BirthdayDemo {
	public static void main(String[] args) {
		Date date = new Date();
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		String dateStr = sdf.format(date);
		System.out.println("dateStr = " + dateStr);



	}
}
